//
//  TSZWebViewController.swift
//  微博天下
//
//  Created by Tsz on 15/10/25.
//  Copyright © 2015年 Tsz. All rights reserved.
//

import UIKit

class TSZWebViewController: UIViewController {

    var url: NSURL? {
        didSet{
            let request = NSURLRequest(URL: url!)
            
            webView.loadRequest(request)
        }
    }
    
    private lazy var webView = UIWebView()
    
    override func loadView() {
        view = webView
        title = "网页"
    }
    
}
